AMD IOMMU: drop amd_iommu_setup_hwdom_device()
authorJan Beulich <jbeulich@suse.com>
Thu, 10 Aug 2017 10:34:21 +0000 (12:34 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 10 Aug 2017 10:34:21 +0000 (12:34 +0200)
commit7c275549f46c5c46611592f7107c1345e93ed457
tree5093e45a8ca92eeaa39a7641784bfa1d95b89e36
parent293a0a1fd712bb85bc695e86a519e8da67f1a39f
AMD IOMMU: drop amd_iommu_setup_hwdom_device()

By moving its bridge special casing to amd_iommu_add_device(), we can
pass the latter to setup_hwdom_pci_devices() and at once consistently
handle bridges discovered at boot time as well as such reported by Dom0
later on.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/drivers/passthrough/amd/pci_amd_iommu.c